package com.yycx.module.bus.client.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * @author zyf
 */

public enum SaleTypeEnum {

    Xs(1, "销售"),
    Th(2, "退货"),
    Bh(3, "补货"),
    Pz(4, "票折");


    @EnumValue
    private Integer code;
    private String name;

    SaleTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    SaleTypeEnum() {

    }

    public Integer getCode() {
        return this.code;
    }

    public String getName() {
        return this.name;
    }
}
